//
//  ADDetaliViewController.m
//  JiuJiuShangCheng
//
//  Created by jiujiukeji on 2018/8/29.
//  Copyright © 2018年 jiujiukeji. All rights reserved.
//

#import "ADDetaliViewController.h"

@interface ADDetaliViewController ()

@end

@implementation ADDetaliViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self loadBaseTitleLable:@"广告详情"];
    
    UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(0, SafeAreaTopHeight, kScreenWidth, kScreenHeight-SafeAreaTopHeight)];
    webView.backgroundColor = [UIColor lightGrayColor];
    NSURLRequest* request = [NSURLRequest requestWithURL:[NSURL URLWithString:self.adUrl]];
    [webView loadRequest:request];
    [self.view addSubview:webView];
}
- (void)viewWillAppear:(BOOL)animated
{
    [super viewWillAppear:animated];
    self.tabBarController.tabBar.hidden = YES;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
